package com.tongcao.cn.processor;

import org.springframework.stereotype.Component;

/**
 * @Author:tongcao
 * @Date:2018/12/28 16:50
 * Description:
 */
@Component
public class BookerProcess extends ProcessHandler {


    /**
     * @param url
     * @return
     */
    @Override
    public String process(String url) {
        mailHelper.sendSimpleEmail("503201142@qq.com", "booker", "hello world", false);
        return "booker邮件发送成功---->" + url;
    }

    @Override
    public String routeType() {
        return "BOOKER";
    }
}
